Platform Explorer / Nuxeo Platform 2021.7

Operation Document.EmptyTrash (Empty Trash)

Description

Emtpy a folder's trash by permanently deleting documents marked as trashed.
Operation id Document.EmptyTrash
Category Document
Label Empty Trash
Requires
Since

Parameters

Name Description Type Required Default value
parent A Folderish document whose trash will be emptied document yes  

Signature

Inputs void
Outputs void

Implementation Information

Implementation Class Class: org.nuxeo.ecm.automation.core.operations.document.EmptyTrash
Contributing Component org.nuxeo.ecm.core.automation.coreContrib

JSON Definition

{
  "id" : "Document.EmptyTrash",
  "label" : "Empty Trash",
  "category" : "Document",
  "requires" : null,
  "description" : "Emtpy a folder's trash by permanently deleting documents marked as trashed.",
  "url" : "Document.EmptyTrash",
  "signature" : [ "void", "void" ],
  "params" : [ {
    "name" : "parent",
    "description" : "A Folderish document whose trash will be emptied",
    "type" : "document",
    "required" : true,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  } ]
}